package com.zzzy.sys.dao.mapper;

import com.zzzy.sys.dao.entity.Menu;
import com.zzzy.framework.core.mybatis.mapper.BaseMapperE;

import java.util.List;

/**
 * 菜单权限 Mapper 接口
 *
 * @author fc
 * @since 2024-04-22
 */
public interface MenuMapper extends BaseMapperE<Menu> {

    List<Menu> selectMenuListByUserId(Long userId);

    List<Menu> selectMenuListByRoleId(Long roleId);

    List<Menu> selectAdminMenuList();
}
